package com.api.manage.pojo;

import com.api.manage.base.PageBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 会员信息
 * </p>
 *
 * @author 金刚裤衩
 * @since 2023-05-31
 */
@Data
@Setter
@NoArgsConstructor
@ApiModel(value = "HyAppUser对象", description = "会员信息")
public class HyAppUserBean extends PageBean implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "用户")
    private Long appUserId;

    @ApiModelProperty(value = "如果是个人商家 商家id")
    private Integer sellersId;

    private String sellersName;

    @ApiModelProperty(value = "区域全路径")
    private String regionPath;

    @ApiModelProperty(value = "编码")
    private String userNum;

    @ApiModelProperty(value = "公司")
    private Integer sysComDeptId;

    @ApiModelProperty(value = "推广会员id")
    private Long tgAppUserId;

    private String tgAppUserName;

    @ApiModelProperty(value = "推广管理员id 维护员")
    private Long tgSysUserId;

    @ApiModelProperty(value = "0否 1准备中 2普通推广员 3中级 6高级 8代理商")
    private Integer isTg;

    @ApiModelProperty(value = "登录账号")
    private String loginName;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "姓名")
    private String userName;

    @ApiModelProperty(value = "电话")
    private String telephone;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "1激活 0失效")
    private Integer status;

    @ApiModelProperty(value = "最后登录时间")
    private LocalDateTime lastLoginTime;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "最后交易时间")
    private LocalDateTime lastJyTime;

    @ApiModelProperty(value = "注册来源1pc 2android 3iso")
    private Integer regFrom;

    @ApiModelProperty(value = "积分(剩余积分)")
    private Integer integral;

    @ApiModelProperty(value = "总积分")
    private Integer integralCount;

    @ApiModelProperty(value = "金币")
    private Integer gold;

    @ApiModelProperty(value = "会员等级")
    private Integer level;

    @ApiModelProperty(value = "1锁定 0未锁定 登录超过次数")
    private Integer locked;

    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;

    @ApiModelProperty(value = "获取经纬度时间")
    private LocalDateTime nearbyTime;

    @ApiModelProperty(value = "语言编码")
    private String language;

    @ApiModelProperty(value = "生日")
    private LocalDate birthday;

    @ApiModelProperty(value = "1男 2女 3其他")
    private Integer sex;

    @ApiModelProperty(value = "头像地址")
    private String headPortrait;

    @ApiModelProperty(value = "手机品牌型号")
    private String telVersion;

    @ApiModelProperty(value = "推广员编码 谁推荐我安装的")
    private String promoteNum;

    @ApiModelProperty(value = "微信openid 小程序")
    private String wxOpenid;

    @ApiModelProperty(value = "公众号")
    private String wxgzhOpenid;

    @ApiModelProperty(value = "历史充值号码,号隔开")
    private String czTels;

    @ApiModelProperty(value = "单点登录标识")
    private String unionid;

    @ApiModelProperty(value = "水印签名图片")
    private String qmImg;

    @ApiModelProperty(value = "开票识别码")
    private String kpNo;

    @ApiModelProperty(value = "开票名称")
    private String kpName;

    @ApiModelProperty(value = "创建人")
    private Integer createId;

    private String createName;

}
